/**
 * 
 */
package patterns.strategy;

import patterns.strategy.behaviors.FlyWithWings;
import patterns.strategy.behaviors.Quack;

/**
 * @author gabriel
 *
 */
public class Pato extends Duck {

	/**
	 * 
	 */
	public Pato() {
		flyBehavior= new FlyWithWings();
		quackBehavior= new Quack();
	}

	/* (non-Javadoc)
	 * @see patterns.strategy.Duck#display()
	 */
	@Override
	public void display() {
		System.out.println("Soy un pato");

	}

}
